package com.yhb.model;

import com.yhb.model.User;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import me.edzh.spring.bootstrap.model.IUser;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class AdminUser implements IUser {
    private String id;
    private String mobile;
    private String name;

    @Override
    public int getAuthPrivileges() {
        return User.A_ADMIN;
    }
}
